package com.guoheng.hazard.sys.mapper.entpr;

import com.guoheng.hazard.common.base.Result;
import com.guoheng.hazard.sys.model.entity.entpr.SpecialOperation;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SpecialOperationMapper {
    int deleteByPrimaryKey(Long id);

    int insert(SpecialOperation record);

    int insertSelective(SpecialOperation record);

    SpecialOperation selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SpecialOperation record);

    int updateByPrimaryKey(SpecialOperation record);

    /**
     * 方法功能描述: 查询特种作业信息
     *
     * @param entprName 企业姓名
     * @param operationType 作业类型
     * @param entprId 企业id
     * @param reviewStatus 审核状态
     * @return List<SpecialOperation>
     */
    List<SpecialOperation> getSpecialOperation(@Param("reviewStatus") Integer reviewStatus,@Param("entprName") String entprName, @Param("operationType") Integer operationType, @Param("entprId")Long entprId);
}